/**
 * 用户相关rest api
 */
import request from '@/utils/request'

//API常量
const APIS = {
    V1: "/v1"
}

export function queryChartData(data) {
    return request({
        url: APIS.V1 + `/system/statics/approval/data`,
        method: 'post',
        data:data
    })
}
export function quertChoose(params) {
    return request({
        url: APIS.V1 + `/system/product/choose`,
        method: 'get',
        params
    })
}

export function dashboardData() {
    return request({
        url: APIS.V1 +`/system/statics/approval/header/data`,
        method: 'get'
    })
}

export function quertAllCapital() {
    return request({
        url: APIS.V1  + `/system/capital/allCapitals`,
        method:'get'
    })
}
export function quertAllCapitalNew() {
    return request({
        url: APIS.V1  + `/system/capital/org`,
        method:'get'
    })
}
//